package samoloty.data;

import java.util.ArrayList;
import samoloty.model.IDataModel;
import samoloty.model.models.AcRegModel;
import samoloty.model.models.ConfigurationModel;
import samoloty.model.models.ConstModel;
import samoloty.model.models.CrewModel;
import samoloty.model.models.FuelModel;
import samoloty.model.models.HoldsModel;
import samoloty.model.models.IdealTrimModel;
import samoloty.model.models.LimitLawModel;
import samoloty.model.models.LimitTowModel;
import samoloty.model.models.LimitTowffModel;
import samoloty.model.models.LimitZfwModel;
import samoloty.model.models.LimitZfwffModel;
import samoloty.model.models.MaxWeightsModel;
import samoloty.model.models.PantryModel;
import samoloty.model.models.PaxModel;
import samoloty.model.models.StabTrimModel;
import samoloty.model.models.StabTrimSubModel;
import samoloty.model.models.StabTrimSubSubModel;

public class DataBase5 extends CommonDataBase implements IDataModel {

    public DataBase5() {
        super();
        initData();
    }

    public ArrayList<String> getAcReg() {
        return acRegData;
    }

    public ArrayList<ConfigurationModel> getConfiguration() {
        return configuration;
    }

    public ConstModel getConst() {
        return constData;
    }

    public ArrayList<CrewModel> getCrew() {
        return crewData;
    }

    public ArrayList<FuelModel> getFuel() {
        return fuelData;
    }

    public ArrayList<HoldsModel> getHolds() {
        return holdsData;
    }

    public ArrayList<LimitLawModel> getLimitLaw() {
        return limitLawData;
    }

    public ArrayList<LimitTowModel> getLimitTow() {
        return limitTowData;
    }

    public ArrayList<LimitTowffModel> getLimitTowff() {
        return limitTowffData;
    }

    public ArrayList<LimitZfwModel> getLimitZfw() {
        return limitZfwData;
    }

    public ArrayList<LimitZfwffModel> getLimitZfwff() {
        return limitZfwffData;
    }

    public MaxWeightsModel getMaxWeights() {
        return maxWeightsData;
    }

    public PantryModel getPantry() {
        return pantryData;
    }

    public ArrayList<PaxModel> getPax() {
        return paxData;
    }

    public StabTrimModel getStabTrimFlap1() {
        return stabTrimFlap1Data;
    }

    public StabTrimModel getStabTrimFlap2() {
        return stabTrimFlap2Data;
    }

    public StabTrimModel getStabTrimFlap3() {
        return stabTrimFlap3Data;
    }

    public StabTrimModel getStabTrimFlap4() {
        return stabTrimFlap4Data;
    }

    public ArrayList<IdealTrimModel> getIdealTrim() {
        return idealTrimData;
    }

    private void initData() {
        initAcReg();
        initConst();
        initCrew();
        initConfiguratin();
        initFuel();
        initHolds();
        initLimitLaw();
        initLimitTow();
        initLimitTowff();
        initLimitZfw();
        initLimitZfwff();
        initPantry();
        initPax();
        initMaxWeights();
        initStabTrimFlap1();
        initStabTrimFlap2();
        initStabTrimFlap3();
        initStabTrimFlap4();
        initIdealTrim();
    }

    private void initAcReg() {
        acRegData = new ArrayList<String>();
        acRegData.add(new String("SP-LNA"));

    }

    private void initConst() {
        constData = new ConstModel(550, 55, 17.5, 16.708, 3.682);
    }

    private void initCrew() {
        crewData = new ArrayList<CrewModel>();
        crewData.add(new CrewModel("2/3", 2, 3, 395, -6.17850));
        crewData.add(new CrewModel("2/4", 2, 4, 470, -4.53150));
        crewData.add(new CrewModel("2/0", 2, 0, 170, -4.53900));
        crewData.add(new CrewModel("3/3", 3, 3, 480, -8.34175));
        crewData.add(new CrewModel("3/4", 3, 4, 555, -6.69475));
        crewData.add(new CrewModel("3/0", 3, 0, 255, -6.70225));

    }

    private void initConfiguratin() {
        configuration = new ArrayList<ConfigurationModel>();
        configuration.add(new ConfigurationModel("Y112", 0, 112, 0, 40, 0, 36, 0, 36));
        configuration.add(new ConfigurationModel("C8Y104", 8, 104, 8, 32, 0, 36, 0, 36));
        configuration.add(new ConfigurationModel("C12Y100", 12, 100, 12, 28, 0, 36, 0, 36));
        configuration.add(new ConfigurationModel("C16Y96", 16, 96, 16, 24, 0, 36, 0, 36));
        configuration.add(new ConfigurationModel("C20Y92", 20, 92, 20, 20, 0, 36, 0, 36));
        configuration.add(new ConfigurationModel("C24Y88", 24, 88, 24, 16, 0, 36, 0, 36));
        configuration.add(new ConfigurationModel("C28Y84", 28, 84, 28, 12, 0, 36, 0, 36));
        configuration.add(new ConfigurationModel("C32Y80", 32, 80, 32, 8, 0, 36, 0, 36));
        configuration.add(new ConfigurationModel("C36Y76", 36, 76, 36, 4, 0, 36, 0, 36));
        configuration.add(new ConfigurationModel("C40Y72", 40, 72, 40, 0, 0, 36, 0, 36));
        configuration.add(new ConfigurationModel("C44Y68", 44, 68, 40, 0, 4, 32, 0, 36));
        configuration.add(new ConfigurationModel("C48Y64", 48, 64, 40, 0, 8, 28, 0, 36));
        configuration.add(new ConfigurationModel("C52Y60", 52, 60, 40, 0, 12, 24, 0, 36));
        configuration.add(new ConfigurationModel("C56Y56", 56, 56, 40, 0, 16, 20, 0, 36));
        configuration.add(new ConfigurationModel("C60Y52", 60, 52, 40, 0, 20, 16, 0, 36));
        configuration.add(new ConfigurationModel("C64Y48", 64, 48, 40, 0, 24, 12, 0, 36));
        configuration.add(new ConfigurationModel("C68Y44", 68, 44, 40, 0, 28, 8, 0, 36));
        configuration.add(new ConfigurationModel("C72Y40", 72, 40, 40, 0, 32, 4, 0, 36));
        configuration.add(new ConfigurationModel("C76Y36", 76, 36, 40, 0, 36, 0, 0, 36));
        configuration.add(new ConfigurationModel("C80Y32", 80, 32, 40, 0, 36, 0, 4, 32));
        configuration.add(new ConfigurationModel("C84Y28", 84, 28, 40, 0, 36, 0, 8, 28));
        configuration.add(new ConfigurationModel("C88Y24", 88, 24, 40, 0, 36, 0, 12, 24));
        configuration.add(new ConfigurationModel("C92Y20", 92, 20, 40, 0, 36, 0, 16, 20));
        configuration.add(new ConfigurationModel("C96Y16", 96, 16, 40, 0, 36, 0, 20, 16));
        configuration.add(new ConfigurationModel("C100Y12", 100, 12, 40, 0, 36, 0, 24, 12));
        configuration.add(new ConfigurationModel("C104Y8", 104, 8, 40, 0, 36, 0, 28, 8));
        configuration.add(new ConfigurationModel("C108Y4", 108, 4, 40, 0, 36, 0, 32, 4));
        configuration.add(new ConfigurationModel("C112", 112, 0, 40, 0, 36, 0, 36, 0));

    }

    private void initFuel() {
        fuelData = new ArrayList<FuelModel>();
        fuelData.add(new FuelModel(0, 0));
        fuelData.add(new FuelModel(400, -0.5));
        fuelData.add(new FuelModel(1000, -1.5));
        fuelData.add(new FuelModel(1600, -2.5));
        fuelData.add(new FuelModel(2100, -3.5));
        fuelData.add(new FuelModel(2700, -4.5));
        fuelData.add(new FuelModel(3400, -5.5));
        fuelData.add(new FuelModel(4000, -6.5));
        fuelData.add(new FuelModel(4700, -7.5));
        fuelData.add(new FuelModel(5400, -8.5));
        fuelData.add(new FuelModel(6100, -9.5));
        fuelData.add(new FuelModel(6900, -10.5));
        fuelData.add(new FuelModel(7800, -11.5));
        fuelData.add(new FuelModel(8700, -12.5));
        fuelData.add(new FuelModel(9200, -13));
        fuelData.add(new FuelModel(9800, -13.2));
        fuelData.add(new FuelModel(10400, -13));
        fuelData.add(new FuelModel(11000, -12.5));
        fuelData.add(new FuelModel(11700, -11.5));
        fuelData.add(new FuelModel(12100, -10.5));
        fuelData.add(new FuelModel(12500, -9.5));
        fuelData.add(new FuelModel(12800, -8.5));
        fuelData.add(new FuelModel(13100, -7.4));

    }

    private void initHolds() {
        holdsData = new ArrayList<HoldsModel>();
        holdsData.add(new HoldsModel("1", 710, -0.01906));
        holdsData.add(new HoldsModel("2", 1190, -0.01174));
        holdsData.add(new HoldsModel("3", 1250, 0.01158));
        holdsData.add(new HoldsModel("4", 550, 0.01958));

    }

    private void initLimitZfw() {
        limitZfwData = new ArrayList<LimitZfwModel>();
        limitZfwData.add(new LimitZfwModel(29500, 48.9, 29500, 48.9));
        limitZfwData.add(new LimitZfwModel(31800, 38.4, 30600, 54.6));
        limitZfwData.add(new LimitZfwModel(42500, 30.3, 38000, 68.3));
        limitZfwData.add(new LimitZfwModel(42500, 30.3, 40900, 70.4));
        limitZfwData.add(new LimitZfwModel(42500, 30.3, 42500, 71.6));

    }

    private void initLimitTow() {
        limitTowData = new ArrayList<LimitTowModel>();
        limitTowData.add(new LimitTowModel(29500, 48.9, 29500, 48.9));
        limitTowData.add(new LimitTowModel(31800, 38.4, 40900, 70.4));
        limitTowData.add(new LimitTowModel(42500, 30.3, 42500, 71.6));
        limitTowData.add(new LimitTowModel(45000, 28.3, 45000, 73.4));
        limitTowData.add(new LimitTowModel(50790, 23.9, 50790, 77.7));

    }

    private void initLimitLaw() {
        limitLawData = new ArrayList<LimitLawModel>();
        limitLawData.add(new LimitLawModel(31800, 38.4, 40900, 70.4));
        limitLawData.add(new LimitLawModel(42500, 30.3, 42500, 71.6));
        limitLawData.add(new LimitLawModel(45000, 28.3, 45000, 73.4));

    }

    private void initLimitZfwff() {
        limitZfwffData = new ArrayList<LimitZfwffModel>();
        limitZfwffData.add(new LimitZfwffModel(29500, 48.9, 29500, 48.9));
        limitZfwffData.add(new LimitZfwffModel(31045, 31.6, 30100, 55.8));
        limitZfwffData.add(new LimitZfwffModel(42500, 22.8, 30600, 66));
        limitZfwffData.add(new LimitZfwffModel(42500, 22.8, 38000, 78.9));
        limitZfwffData.add(new LimitZfwffModel(42500, 22.8, 42500, 81.8));

    }

    private void initLimitTowff() {
        limitTowffData = new ArrayList<LimitTowffModel>();
        limitTowffData.add(new LimitTowffModel(29500, 48.9, 29500, 48.9));
        limitTowffData.add(new LimitTowffModel(31045, 31.6, 30100, 55.8));
        limitTowffData.add(new LimitTowffModel(42500, 22.8, 42500, 81.8));
        limitTowffData.add(new LimitTowffModel(45000, 20.8, 45000, 83.4));
        limitTowffData.add(new LimitTowffModel(50790, 16.4, 50790, 87.1));

    }

    private void initPantry() {
        pantryData = new PantryModel(800, -0.02310, 0.00000, 0.00000, 623, 0.025);

    }

    private void initPax() {
        paxData = new ArrayList<PaxModel>();
        paxData.add(new PaxModel("0A", 0.011));
        paxData.add(new PaxModel("0B", 0.003));
        paxData.add(new PaxModel("0C", 0.016));

    }

    private void initMaxWeights() {
        maxWeightsData = new MaxWeightsModel(50950, 50790, 42500, 45000);
    }

    private void initStabTrimFlap1() {
        ArrayList<StabTrimSubModel> stabTrimSub = new ArrayList<StabTrimSubModel>();
        ArrayList<StabTrimSubSubModel> stabMacs1 = new ArrayList<StabTrimSubSubModel>();
        stabMacs1.add(new StabTrimSubSubModel(10, -0.7));
        stabMacs1.add(new StabTrimSubSubModel(12, -0.4));
        stabMacs1.add(new StabTrimSubSubModel(14, -0.2));
        stabMacs1.add(new StabTrimSubSubModel(16, 0.1));
        stabMacs1.add(new StabTrimSubSubModel(18, 0.3));
        stabMacs1.add(new StabTrimSubSubModel(20, 0.6));
        stabMacs1.add(new StabTrimSubSubModel(22, 0.9));
        stabMacs1.add(new StabTrimSubSubModel(24, 1.1));
        stabMacs1.add(new StabTrimSubSubModel(26, 1.4));
        stabMacs1.add(new StabTrimSubSubModel(28, 1.7));
        stabMacs1.add(new StabTrimSubSubModel(30, 1.9));
        stabMacs1.add(new StabTrimSubSubModel(32, 2.2));
        stabTrimSub.add(new StabTrimSubModel("FLAP 1", 31000, stabMacs1));
        ArrayList<StabTrimSubSubModel> stabMacs2 = new ArrayList<StabTrimSubSubModel>();
        stabMacs2.add(new StabTrimSubSubModel(10, -0.9));
        stabMacs2.add(new StabTrimSubSubModel(12, -0.7));
        stabMacs2.add(new StabTrimSubSubModel(14, -0.4));
        stabMacs2.add(new StabTrimSubSubModel(16, -0.1));
        stabMacs2.add(new StabTrimSubSubModel(18, 0.1));
        stabMacs2.add(new StabTrimSubSubModel(20, 0.4));
        stabMacs2.add(new StabTrimSubSubModel(22, 0.7));
        stabMacs2.add(new StabTrimSubSubModel(24, 0.9));
        stabMacs2.add(new StabTrimSubSubModel(26, 1.2));
        stabMacs2.add(new StabTrimSubSubModel(28, 1.5));
        stabMacs2.add(new StabTrimSubSubModel(30, 1.7));
        stabMacs2.add(new StabTrimSubSubModel(32, 2));
        stabTrimSub.add(new StabTrimSubModel("", 33000, stabMacs2));
        ArrayList<StabTrimSubSubModel> stabMacs3 = new ArrayList<StabTrimSubSubModel>();
        stabMacs3.add(new StabTrimSubSubModel(10, -1.2));
        stabMacs3.add(new StabTrimSubSubModel(12, -0.9));
        stabMacs3.add(new StabTrimSubSubModel(14, -0.6));
        stabMacs3.add(new StabTrimSubSubModel(16, -0.4));
        stabMacs3.add(new StabTrimSubSubModel(18, -0.1));
        stabMacs3.add(new StabTrimSubSubModel(20, 0.2));
        stabMacs3.add(new StabTrimSubSubModel(22, 0.4));
        stabMacs3.add(new StabTrimSubSubModel(24, 0.7));
        stabMacs3.add(new StabTrimSubSubModel(26, 1));
        stabMacs3.add(new StabTrimSubSubModel(28, 1.3));
        stabMacs3.add(new StabTrimSubSubModel(30, 1.5));
        stabMacs3.add(new StabTrimSubSubModel(32, 1.8));
        stabTrimSub.add(new StabTrimSubModel("", 35000, stabMacs3));
        ArrayList<StabTrimSubSubModel> stabMacs4 = new ArrayList<StabTrimSubSubModel>();
        stabMacs4.add(new StabTrimSubSubModel(10, -1.4));
        stabMacs4.add(new StabTrimSubSubModel(12, -1.1));
        stabMacs4.add(new StabTrimSubSubModel(14, -0.9));
        stabMacs4.add(new StabTrimSubSubModel(16, -0.6));
        stabMacs4.add(new StabTrimSubSubModel(18, -0.3));
        stabMacs4.add(new StabTrimSubSubModel(20, 0));
        stabMacs4.add(new StabTrimSubSubModel(22, 0.2));
        stabMacs4.add(new StabTrimSubSubModel(24, 0.5));
        stabMacs4.add(new StabTrimSubSubModel(26, 0.8));
        stabMacs4.add(new StabTrimSubSubModel(28, 1.1));
        stabMacs4.add(new StabTrimSubSubModel(30, 1.4));
        stabMacs4.add(new StabTrimSubSubModel(32, 1.6));
        stabTrimSub.add(new StabTrimSubModel("", 37000, stabMacs4));
        ArrayList<StabTrimSubSubModel> stabMacs5 = new ArrayList<StabTrimSubSubModel>();
        stabMacs5.add(new StabTrimSubSubModel(10, -1.7));
        stabMacs5.add(new StabTrimSubSubModel(12, -1.4));
        stabMacs5.add(new StabTrimSubSubModel(14, -1.1));
        stabMacs5.add(new StabTrimSubSubModel(16, -0.8));
        stabMacs5.add(new StabTrimSubSubModel(18, -0.5));
        stabMacs5.add(new StabTrimSubSubModel(20, -0.3));
        stabMacs5.add(new StabTrimSubSubModel(22, 0));
        stabMacs5.add(new StabTrimSubSubModel(24, 0.3));
        stabMacs5.add(new StabTrimSubSubModel(26, 0.6));
        stabMacs5.add(new StabTrimSubSubModel(28, 0.9));
        stabMacs5.add(new StabTrimSubSubModel(30, 1.2));
        stabMacs5.add(new StabTrimSubSubModel(32, 1.4));
        stabTrimSub.add(new StabTrimSubModel("", 39000, stabMacs5));
        ArrayList<StabTrimSubSubModel> stabMacs6 = new ArrayList<StabTrimSubSubModel>();
        stabMacs6.add(new StabTrimSubSubModel(10, -1.9));
        stabMacs6.add(new StabTrimSubSubModel(12, -1.6));
        stabMacs6.add(new StabTrimSubSubModel(14, -1.3));
        stabMacs6.add(new StabTrimSubSubModel(16, -1));
        stabMacs6.add(new StabTrimSubSubModel(18, -0.7));
        stabMacs6.add(new StabTrimSubSubModel(20, -0.5));
        stabMacs6.add(new StabTrimSubSubModel(22, -0.2));
        stabMacs6.add(new StabTrimSubSubModel(24, 0.1));
        stabMacs6.add(new StabTrimSubSubModel(26, 0.4));
        stabMacs6.add(new StabTrimSubSubModel(28, 0.7));
        stabMacs6.add(new StabTrimSubSubModel(30, 1));
        stabMacs6.add(new StabTrimSubSubModel(32, 1.3));
        stabTrimSub.add(new StabTrimSubModel("", 41000, stabMacs6));
        ArrayList<StabTrimSubSubModel> stabMacs7 = new ArrayList<StabTrimSubSubModel>();
        stabMacs7.add(new StabTrimSubSubModel(10, -2.1));
        stabMacs7.add(new StabTrimSubSubModel(12, -1.8));
        stabMacs7.add(new StabTrimSubSubModel(14, -1.5));
        stabMacs7.add(new StabTrimSubSubModel(16, -1.2));
        stabMacs7.add(new StabTrimSubSubModel(18, -0.9));
        stabMacs7.add(new StabTrimSubSubModel(20, -0.6));
        stabMacs7.add(new StabTrimSubSubModel(22, -0.3));
        stabMacs7.add(new StabTrimSubSubModel(24, -0.1));
        stabMacs7.add(new StabTrimSubSubModel(26, 0.2));
        stabMacs7.add(new StabTrimSubSubModel(28, 0.5));
        stabMacs7.add(new StabTrimSubSubModel(30, 0.8));
        stabMacs7.add(new StabTrimSubSubModel(32, 1.1));
        stabTrimSub.add(new StabTrimSubModel("", 43000, stabMacs7));
        ArrayList<StabTrimSubSubModel> stabMacs8 = new ArrayList<StabTrimSubSubModel>();
        stabMacs8.add(new StabTrimSubSubModel(10, -2.2));
        stabMacs8.add(new StabTrimSubSubModel(12, -2));
        stabMacs8.add(new StabTrimSubSubModel(14, -1.7));
        stabMacs8.add(new StabTrimSubSubModel(16, -1.4));
        stabMacs8.add(new StabTrimSubSubModel(18, -1.1));
        stabMacs8.add(new StabTrimSubSubModel(20, -0.8));
        stabMacs8.add(new StabTrimSubSubModel(22, -0.5));
        stabMacs8.add(new StabTrimSubSubModel(24, -0.2));
        stabMacs8.add(new StabTrimSubSubModel(26, 0.1));
        stabMacs8.add(new StabTrimSubSubModel(28, 0.4));
        stabMacs8.add(new StabTrimSubSubModel(30, 0.7));
        stabMacs8.add(new StabTrimSubSubModel(32, 1));
        stabTrimSub.add(new StabTrimSubModel("", 45000, stabMacs8));
        ArrayList<StabTrimSubSubModel> stabMacs9 = new ArrayList<StabTrimSubSubModel>();
        stabMacs9.add(new StabTrimSubSubModel(10, -2.4));
        stabMacs9.add(new StabTrimSubSubModel(12, -2.1));
        stabMacs9.add(new StabTrimSubSubModel(14, -1.8));
        stabMacs9.add(new StabTrimSubSubModel(16, -1.5));
        stabMacs9.add(new StabTrimSubSubModel(18, -1.2));
        stabMacs9.add(new StabTrimSubSubModel(20, -0.9));
        stabMacs9.add(new StabTrimSubSubModel(22, -0.6));
        stabMacs9.add(new StabTrimSubSubModel(24, -0.3));
        stabMacs9.add(new StabTrimSubSubModel(26, -0.1));
        stabMacs9.add(new StabTrimSubSubModel(28, 0.2));
        stabMacs9.add(new StabTrimSubSubModel(30, 0.5));
        stabMacs9.add(new StabTrimSubSubModel(32, 0.8));
        stabTrimSub.add(new StabTrimSubModel("", 47000, stabMacs9));
        ArrayList<StabTrimSubSubModel> stabMacs10 = new ArrayList<StabTrimSubSubModel>();
        stabMacs10.add(new StabTrimSubSubModel(10, -2.6));
        stabMacs10.add(new StabTrimSubSubModel(12, -2.3));
        stabMacs10.add(new StabTrimSubSubModel(14, -2));
        stabMacs10.add(new StabTrimSubSubModel(16, -1.7));
        stabMacs10.add(new StabTrimSubSubModel(18, -1.4));
        stabMacs10.add(new StabTrimSubSubModel(20, -1.1));
        stabMacs10.add(new StabTrimSubSubModel(22, -0.8));
        stabMacs10.add(new StabTrimSubSubModel(24, -0.5));
        stabMacs10.add(new StabTrimSubSubModel(26, -0.2));
        stabMacs10.add(new StabTrimSubSubModel(28, 0.1));
        stabMacs10.add(new StabTrimSubSubModel(30, 0.4));
        stabMacs10.add(new StabTrimSubSubModel(32, 0.7));
        stabTrimSub.add(new StabTrimSubModel("", 49000, stabMacs10));
        ArrayList<StabTrimSubSubModel> stabMacs11 = new ArrayList<StabTrimSubSubModel>();
        stabMacs11.add(new StabTrimSubSubModel(10, -2.7));
        stabMacs11.add(new StabTrimSubSubModel(12, -2.4));
        stabMacs11.add(new StabTrimSubSubModel(14, -2.1));
        stabMacs11.add(new StabTrimSubSubModel(16, -1.8));
        stabMacs11.add(new StabTrimSubSubModel(18, -1.5));
        stabMacs11.add(new StabTrimSubSubModel(20, -1.2));
        stabMacs11.add(new StabTrimSubSubModel(22, -0.9));
        stabMacs11.add(new StabTrimSubSubModel(24, -0.6));
        stabMacs11.add(new StabTrimSubSubModel(26, -0.3));
        stabMacs11.add(new StabTrimSubSubModel(28, 0));
        stabMacs11.add(new StabTrimSubSubModel(30, 0.3));
        stabMacs11.add(new StabTrimSubSubModel(32, 0.6));
        stabTrimSub.add(new StabTrimSubModel("", 51000, stabMacs11));
        ArrayList<StabTrimSubSubModel> stabMacs12 = new ArrayList<StabTrimSubSubModel>();
        stabMacs12.add(new StabTrimSubSubModel(10, -2.8));
        stabMacs12.add(new StabTrimSubSubModel(12, -2.5));
        stabMacs12.add(new StabTrimSubSubModel(14, -2.2));
        stabMacs12.add(new StabTrimSubSubModel(16, -1.9));
        stabMacs12.add(new StabTrimSubSubModel(18, -1.6));
        stabMacs12.add(new StabTrimSubSubModel(20, -1.3));
        stabMacs12.add(new StabTrimSubSubModel(22, -1));
        stabMacs12.add(new StabTrimSubSubModel(24, -0.7));
        stabMacs12.add(new StabTrimSubSubModel(26, -0.4));
        stabMacs12.add(new StabTrimSubSubModel(28, -0.1));
        stabMacs12.add(new StabTrimSubSubModel(30, 0.2));
        stabMacs12.add(new StabTrimSubSubModel(32, 0.5));
        stabTrimSub.add(new StabTrimSubModel("", 53000, stabMacs12));
        stabTrimFlap1Data = new StabTrimModel(stabTrimSub);
    }

    private void initStabTrimFlap2() {
        ArrayList<StabTrimSubModel> stabTrimSub = new ArrayList<StabTrimSubModel>();
        ArrayList<StabTrimSubSubModel> stabMacs1 = new ArrayList<StabTrimSubSubModel>();
        stabMacs1.add(new StabTrimSubSubModel(10, -0.2));
        stabMacs1.add(new StabTrimSubSubModel(12, 0.1));
        stabMacs1.add(new StabTrimSubSubModel(14, 0.3));
        stabMacs1.add(new StabTrimSubSubModel(16, 0.6));
        stabMacs1.add(new StabTrimSubSubModel(18, 0.9));
        stabMacs1.add(new StabTrimSubSubModel(20, 1.2));
        stabMacs1.add(new StabTrimSubSubModel(22, 1.5));
        stabMacs1.add(new StabTrimSubSubModel(24, 1.7));
        stabMacs1.add(new StabTrimSubSubModel(26, 2));
        stabMacs1.add(new StabTrimSubSubModel(28, 2.3));
        stabMacs1.add(new StabTrimSubSubModel(30, 2.6));
        stabMacs1.add(new StabTrimSubSubModel(32, 2.9));
        stabTrimSub.add(new StabTrimSubModel("FLAP 2", 31000, stabMacs1));
        ArrayList<StabTrimSubSubModel> stabMacs2 = new ArrayList<StabTrimSubSubModel>();
        stabMacs2.add(new StabTrimSubSubModel(10, -0.5));
        stabMacs2.add(new StabTrimSubSubModel(12, -0.2));
        stabMacs2.add(new StabTrimSubSubModel(14, 0.1));
        stabMacs2.add(new StabTrimSubSubModel(16, 0.4));
        stabMacs2.add(new StabTrimSubSubModel(18, 0.7));
        stabMacs2.add(new StabTrimSubSubModel(20, 1));
        stabMacs2.add(new StabTrimSubSubModel(22, 1.2));
        stabMacs2.add(new StabTrimSubSubModel(24, 1.5));
        stabMacs2.add(new StabTrimSubSubModel(26, 1.8));
        stabMacs2.add(new StabTrimSubSubModel(28, 2.1));
        stabMacs2.add(new StabTrimSubSubModel(30, 2.4));
        stabMacs2.add(new StabTrimSubSubModel(32, 2.7));
        stabTrimSub.add(new StabTrimSubModel("", 33000, stabMacs2));
        ArrayList<StabTrimSubSubModel> stabMacs3 = new ArrayList<StabTrimSubSubModel>();
        stabMacs3.add(new StabTrimSubSubModel(10, -0.7));
        stabMacs3.add(new StabTrimSubSubModel(12, -0.4));
        stabMacs3.add(new StabTrimSubSubModel(14, -0.1));
        stabMacs3.add(new StabTrimSubSubModel(16, 0.2));
        stabMacs3.add(new StabTrimSubSubModel(18, 0.5));
        stabMacs3.add(new StabTrimSubSubModel(20, 0.7));
        stabMacs3.add(new StabTrimSubSubModel(22, 1));
        stabMacs3.add(new StabTrimSubSubModel(24, 1.3));
        stabMacs3.add(new StabTrimSubSubModel(26, 1.6));
        stabMacs3.add(new StabTrimSubSubModel(28, 1.9));
        stabMacs3.add(new StabTrimSubSubModel(30, 2.2));
        stabMacs3.add(new StabTrimSubSubModel(32, 2.5));
        stabTrimSub.add(new StabTrimSubModel("", 35000, stabMacs3));
        ArrayList<StabTrimSubSubModel> stabMacs4 = new ArrayList<StabTrimSubSubModel>();
        stabMacs4.add(new StabTrimSubSubModel(10, -0.9));
        stabMacs4.add(new StabTrimSubSubModel(12, -0.7));
        stabMacs4.add(new StabTrimSubSubModel(14, -0.4));
        stabMacs4.add(new StabTrimSubSubModel(16, -0.1));
        stabMacs4.add(new StabTrimSubSubModel(18, 0.2));
        stabMacs4.add(new StabTrimSubSubModel(20, 0.5));
        stabMacs4.add(new StabTrimSubSubModel(22, 0.8));
        stabMacs4.add(new StabTrimSubSubModel(24, 1.1));
        stabMacs4.add(new StabTrimSubSubModel(26, 1.4));
        stabMacs4.add(new StabTrimSubSubModel(28, 1.7));
        stabMacs4.add(new StabTrimSubSubModel(30, 2));
        stabMacs4.add(new StabTrimSubSubModel(32, 2.3));
        stabTrimSub.add(new StabTrimSubModel("", 37000, stabMacs4));
        ArrayList<StabTrimSubSubModel> stabMacs5 = new ArrayList<StabTrimSubSubModel>();
        stabMacs5.add(new StabTrimSubSubModel(10, -1.2));
        stabMacs5.add(new StabTrimSubSubModel(12, -0.9));
        stabMacs5.add(new StabTrimSubSubModel(14, -0.6));
        stabMacs5.add(new StabTrimSubSubModel(16, -0.3));
        stabMacs5.add(new StabTrimSubSubModel(18, 0));
        stabMacs5.add(new StabTrimSubSubModel(20, 0.3));
        stabMacs5.add(new StabTrimSubSubModel(22, 0.6));
        stabMacs5.add(new StabTrimSubSubModel(24, 0.9));
        stabMacs5.add(new StabTrimSubSubModel(26, 1.2));
        stabMacs5.add(new StabTrimSubSubModel(28, 1.5));
        stabMacs5.add(new StabTrimSubSubModel(30, 1.8));
        stabMacs5.add(new StabTrimSubSubModel(32, 2.1));
        stabTrimSub.add(new StabTrimSubModel("", 39000, stabMacs5));
        ArrayList<StabTrimSubSubModel> stabMacs6 = new ArrayList<StabTrimSubSubModel>();
        stabMacs6.add(new StabTrimSubSubModel(10, -1.4));
        stabMacs6.add(new StabTrimSubSubModel(12, -1.1));
        stabMacs6.add(new StabTrimSubSubModel(14, -0.8));
        stabMacs6.add(new StabTrimSubSubModel(16, -0.5));
        stabMacs6.add(new StabTrimSubSubModel(18, -0.2));
        stabMacs6.add(new StabTrimSubSubModel(20, 0.1));
        stabMacs6.add(new StabTrimSubSubModel(22, 0.4));
        stabMacs6.add(new StabTrimSubSubModel(24, 0.7));
        stabMacs6.add(new StabTrimSubSubModel(26, 1));
        stabMacs6.add(new StabTrimSubSubModel(28, 1.3));
        stabMacs6.add(new StabTrimSubSubModel(30, 1.6));
        stabMacs6.add(new StabTrimSubSubModel(32, 1.9));
        stabTrimSub.add(new StabTrimSubModel("", 41000, stabMacs6));
        ArrayList<StabTrimSubSubModel> stabMacs7 = new ArrayList<StabTrimSubSubModel>();
        stabMacs7.add(new StabTrimSubSubModel(10, -1.6));
        stabMacs7.add(new StabTrimSubSubModel(12, -1.3));
        stabMacs7.add(new StabTrimSubSubModel(14, -1));
        stabMacs7.add(new StabTrimSubSubModel(16, -0.7));
        stabMacs7.add(new StabTrimSubSubModel(18, -0.4));
        stabMacs7.add(new StabTrimSubSubModel(20, -0.1));
        stabMacs7.add(new StabTrimSubSubModel(22, 0.2));
        stabMacs7.add(new StabTrimSubSubModel(24, 0.5));
        stabMacs7.add(new StabTrimSubSubModel(26, 0.8));
        stabMacs7.add(new StabTrimSubSubModel(28, 1.1));
        stabMacs7.add(new StabTrimSubSubModel(30, 1.4));
        stabMacs7.add(new StabTrimSubSubModel(32, 1.7));
        stabTrimSub.add(new StabTrimSubModel("", 43000, stabMacs7));
        ArrayList<StabTrimSubSubModel> stabMacs8 = new ArrayList<StabTrimSubSubModel>();
        stabMacs8.add(new StabTrimSubSubModel(10, -1.8));
        stabMacs8.add(new StabTrimSubSubModel(12, -1.5));
        stabMacs8.add(new StabTrimSubSubModel(14, -1.2));
        stabMacs8.add(new StabTrimSubSubModel(16, -0.9));
        stabMacs8.add(new StabTrimSubSubModel(18, -0.6));
        stabMacs8.add(new StabTrimSubSubModel(20, -0.2));
        stabMacs8.add(new StabTrimSubSubModel(22, 0.1));
        stabMacs8.add(new StabTrimSubSubModel(24, 0.4));
        stabMacs8.add(new StabTrimSubSubModel(26, 0.7));
        stabMacs8.add(new StabTrimSubSubModel(28, 1));
        stabMacs8.add(new StabTrimSubSubModel(30, 1.3));
        stabMacs8.add(new StabTrimSubSubModel(32, 1.6));
        stabTrimSub.add(new StabTrimSubModel("", 45000, stabMacs8));
        ArrayList<StabTrimSubSubModel> stabMacs9 = new ArrayList<StabTrimSubSubModel>();
        stabMacs9.add(new StabTrimSubSubModel(10, -1.9));
        stabMacs9.add(new StabTrimSubSubModel(12, -1.6));
        stabMacs9.add(new StabTrimSubSubModel(14, -1.3));
        stabMacs9.add(new StabTrimSubSubModel(16, -1));
        stabMacs9.add(new StabTrimSubSubModel(18, -0.7));
        stabMacs9.add(new StabTrimSubSubModel(20, -0.4));
        stabMacs9.add(new StabTrimSubSubModel(22, -0.1));
        stabMacs9.add(new StabTrimSubSubModel(24, 0.2));
        stabMacs9.add(new StabTrimSubSubModel(26, 0.5));
        stabMacs9.add(new StabTrimSubSubModel(28, 0.8));
        stabMacs9.add(new StabTrimSubSubModel(30, 1.1));
        stabMacs9.add(new StabTrimSubSubModel(32, 1.4));
        stabTrimSub.add(new StabTrimSubModel("", 47000, stabMacs9));
        ArrayList<StabTrimSubSubModel> stabMacs10 = new ArrayList<StabTrimSubSubModel>();
        stabMacs10.add(new StabTrimSubSubModel(10, -2.1));
        stabMacs10.add(new StabTrimSubSubModel(12, -1.8));
        stabMacs10.add(new StabTrimSubSubModel(14, -1.5));
        stabMacs10.add(new StabTrimSubSubModel(16, -1.2));
        stabMacs10.add(new StabTrimSubSubModel(18, -0.8));
        stabMacs10.add(new StabTrimSubSubModel(20, -0.5));
        stabMacs10.add(new StabTrimSubSubModel(22, -0.2));
        stabMacs10.add(new StabTrimSubSubModel(24, 0.1));
        stabMacs10.add(new StabTrimSubSubModel(26, 0.4));
        stabMacs10.add(new StabTrimSubSubModel(28, 0.7));
        stabMacs10.add(new StabTrimSubSubModel(30, 1));
        stabMacs10.add(new StabTrimSubSubModel(32, 1.3));
        stabTrimSub.add(new StabTrimSubModel("", 49000, stabMacs10));
        ArrayList<StabTrimSubSubModel> stabMacs11 = new ArrayList<StabTrimSubSubModel>();
        stabMacs11.add(new StabTrimSubSubModel(10, -2.2));
        stabMacs11.add(new StabTrimSubSubModel(12, -1.9));
        stabMacs11.add(new StabTrimSubSubModel(14, -1.6));
        stabMacs11.add(new StabTrimSubSubModel(16, -1.3));
        stabMacs11.add(new StabTrimSubSubModel(18, -1));
        stabMacs11.add(new StabTrimSubSubModel(20, -0.7));
        stabMacs11.add(new StabTrimSubSubModel(22, -0.4));
        stabMacs11.add(new StabTrimSubSubModel(24, 0));
        stabMacs11.add(new StabTrimSubSubModel(26, 0.3));
        stabMacs11.add(new StabTrimSubSubModel(28, 0.6));
        stabMacs11.add(new StabTrimSubSubModel(30, 0.9));
        stabMacs11.add(new StabTrimSubSubModel(32, 1.2));
        stabTrimSub.add(new StabTrimSubModel("", 51000, stabMacs11));
        ArrayList<StabTrimSubSubModel> stabMacs12 = new ArrayList<StabTrimSubSubModel>();
        stabMacs12.add(new StabTrimSubSubModel(10, -2.4));
        stabMacs12.add(new StabTrimSubSubModel(12, -2));
        stabMacs12.add(new StabTrimSubSubModel(14, -1.7));
        stabMacs12.add(new StabTrimSubSubModel(16, -1.4));
        stabMacs12.add(new StabTrimSubSubModel(18, -1.1));
        stabMacs12.add(new StabTrimSubSubModel(20, -0.8));
        stabMacs12.add(new StabTrimSubSubModel(22, -0.5));
        stabMacs12.add(new StabTrimSubSubModel(24, -0.2));
        stabMacs12.add(new StabTrimSubSubModel(26, 0.1));
        stabMacs12.add(new StabTrimSubSubModel(28, 0.5));
        stabMacs12.add(new StabTrimSubSubModel(30, 0.8));
        stabMacs12.add(new StabTrimSubSubModel(32, 1.1));
        stabTrimSub.add(new StabTrimSubModel("", 53000, stabMacs12));
        stabTrimFlap2Data = new StabTrimModel(stabTrimSub);
    }

    private void initStabTrimFlap3() {
        ArrayList<StabTrimSubModel> stabTrimSub = new ArrayList<StabTrimSubModel>();
        ArrayList<StabTrimSubSubModel> stabMacs1 = new ArrayList<StabTrimSubSubModel>();
        stabMacs1.add(new StabTrimSubSubModel(10, 0.3));
        stabMacs1.add(new StabTrimSubSubModel(12, 0.6));
        stabMacs1.add(new StabTrimSubSubModel(14, 0.9));
        stabMacs1.add(new StabTrimSubSubModel(16, 1.2));
        stabMacs1.add(new StabTrimSubSubModel(18, 1.6));
        stabMacs1.add(new StabTrimSubSubModel(20, 1.9));
        stabMacs1.add(new StabTrimSubSubModel(22, 2.2));
        stabMacs1.add(new StabTrimSubSubModel(24, 2.5));
        stabMacs1.add(new StabTrimSubSubModel(26, 2.8));
        stabMacs1.add(new StabTrimSubSubModel(28, 3.1));
        stabMacs1.add(new StabTrimSubSubModel(30, 3.4));
        stabMacs1.add(new StabTrimSubSubModel(32, 3.7));
        stabTrimSub.add(new StabTrimSubModel("FLAP 3", 31000, stabMacs1));
        ArrayList<StabTrimSubSubModel> stabMacs2 = new ArrayList<StabTrimSubSubModel>();
        stabMacs2.add(new StabTrimSubSubModel(10, 0));
        stabMacs2.add(new StabTrimSubSubModel(12, 0.4));
        stabMacs2.add(new StabTrimSubSubModel(14, 0.7));
        stabMacs2.add(new StabTrimSubSubModel(16, 1));
        stabMacs2.add(new StabTrimSubSubModel(18, 1.3));
        stabMacs2.add(new StabTrimSubSubModel(20, 1.6));
        stabMacs2.add(new StabTrimSubSubModel(22, 1.9));
        stabMacs2.add(new StabTrimSubSubModel(24, 2.3));
        stabMacs2.add(new StabTrimSubSubModel(26, 2.6));
        stabMacs2.add(new StabTrimSubSubModel(28, 2.9));
        stabMacs2.add(new StabTrimSubSubModel(30, 3.2));
        stabMacs2.add(new StabTrimSubSubModel(32, 3.5));
        stabTrimSub.add(new StabTrimSubModel("", 33000, stabMacs2));
        ArrayList<StabTrimSubSubModel> stabMacs3 = new ArrayList<StabTrimSubSubModel>();
        stabMacs3.add(new StabTrimSubSubModel(10, -0.2));
        stabMacs3.add(new StabTrimSubSubModel(12, 0.1));
        stabMacs3.add(new StabTrimSubSubModel(14, 0.4));
        stabMacs3.add(new StabTrimSubSubModel(16, 0.7));
        stabMacs3.add(new StabTrimSubSubModel(18, 1.1));
        stabMacs3.add(new StabTrimSubSubModel(20, 1.4));
        stabMacs3.add(new StabTrimSubSubModel(22, 1.7));
        stabMacs3.add(new StabTrimSubSubModel(24, 2));
        stabMacs3.add(new StabTrimSubSubModel(26, 2.3));
        stabMacs3.add(new StabTrimSubSubModel(28, 2.7));
        stabMacs3.add(new StabTrimSubSubModel(30, 3));
        stabMacs3.add(new StabTrimSubSubModel(32, 3.3));
        stabTrimSub.add(new StabTrimSubModel("", 35000, stabMacs3));
        ArrayList<StabTrimSubSubModel> stabMacs4 = new ArrayList<StabTrimSubSubModel>();
        stabMacs4.add(new StabTrimSubSubModel(10, -0.5));
        stabMacs4.add(new StabTrimSubSubModel(12, -0.2));
        stabMacs4.add(new StabTrimSubSubModel(14, 0.1));
        stabMacs4.add(new StabTrimSubSubModel(16, 0.5));
        stabMacs4.add(new StabTrimSubSubModel(18, 0.8));
        stabMacs4.add(new StabTrimSubSubModel(20, 1.1));
        stabMacs4.add(new StabTrimSubSubModel(22, 1.5));
        stabMacs4.add(new StabTrimSubSubModel(24, 1.8));
        stabMacs4.add(new StabTrimSubSubModel(26, 2.1));
        stabMacs4.add(new StabTrimSubSubModel(28, 2.4));
        stabMacs4.add(new StabTrimSubSubModel(30, 2.8));
        stabMacs4.add(new StabTrimSubSubModel(32, 3.1));
        stabTrimSub.add(new StabTrimSubModel("", 37000, stabMacs4));
        ArrayList<StabTrimSubSubModel> stabMacs5 = new ArrayList<StabTrimSubSubModel>();
        stabMacs5.add(new StabTrimSubSubModel(10, -0.8));
        stabMacs5.add(new StabTrimSubSubModel(12, -0.4));
        stabMacs5.add(new StabTrimSubSubModel(14, -0.1));
        stabMacs5.add(new StabTrimSubSubModel(16, 0.2));
        stabMacs5.add(new StabTrimSubSubModel(18, 0.5));
        stabMacs5.add(new StabTrimSubSubModel(20, 0.9));
        stabMacs5.add(new StabTrimSubSubModel(22, 1.2));
        stabMacs5.add(new StabTrimSubSubModel(24, 1.5));
        stabMacs5.add(new StabTrimSubSubModel(26, 1.9));
        stabMacs5.add(new StabTrimSubSubModel(28, 2.2));
        stabMacs5.add(new StabTrimSubSubModel(30, 2.5));
        stabMacs5.add(new StabTrimSubSubModel(32, 2.9));
        stabTrimSub.add(new StabTrimSubModel("", 39000, stabMacs5));
        ArrayList<StabTrimSubSubModel> stabMacs6 = new ArrayList<StabTrimSubSubModel>();
        stabMacs6.add(new StabTrimSubSubModel(10, -1));
        stabMacs6.add(new StabTrimSubSubModel(12, -0.7));
        stabMacs6.add(new StabTrimSubSubModel(14, -0.3));
        stabMacs6.add(new StabTrimSubSubModel(16, 0));
        stabMacs6.add(new StabTrimSubSubModel(18, 0.3));
        stabMacs6.add(new StabTrimSubSubModel(20, 0.7));
        stabMacs6.add(new StabTrimSubSubModel(22, 1));
        stabMacs6.add(new StabTrimSubSubModel(24, 1.3));
        stabMacs6.add(new StabTrimSubSubModel(26, 1.7));
        stabMacs6.add(new StabTrimSubSubModel(28, 2));
        stabMacs6.add(new StabTrimSubSubModel(30, 2.3));
        stabMacs6.add(new StabTrimSubSubModel(32, 2.7));
        stabTrimSub.add(new StabTrimSubModel("", 41000, stabMacs6));
        ArrayList<StabTrimSubSubModel> stabMacs7 = new ArrayList<StabTrimSubSubModel>();
        stabMacs7.add(new StabTrimSubSubModel(10, -1.2));
        stabMacs7.add(new StabTrimSubSubModel(12, -0.9));
        stabMacs7.add(new StabTrimSubSubModel(14, -0.5));
        stabMacs7.add(new StabTrimSubSubModel(16, -0.2));
        stabMacs7.add(new StabTrimSubSubModel(18, 0.2));
        stabMacs7.add(new StabTrimSubSubModel(20, 0.5));
        stabMacs7.add(new StabTrimSubSubModel(22, 0.8));
        stabMacs7.add(new StabTrimSubSubModel(24, 1.2));
        stabMacs7.add(new StabTrimSubSubModel(26, 1.5));
        stabMacs7.add(new StabTrimSubSubModel(28, 1.8));
        stabMacs7.add(new StabTrimSubSubModel(30, 2.2));
        stabMacs7.add(new StabTrimSubSubModel(32, 2.5));
        stabTrimSub.add(new StabTrimSubModel("", 43000, stabMacs7));
        ArrayList<StabTrimSubSubModel> stabMacs8 = new ArrayList<StabTrimSubSubModel>();
        stabMacs8.add(new StabTrimSubSubModel(10, -1.4));
        stabMacs8.add(new StabTrimSubSubModel(12, -1));
        stabMacs8.add(new StabTrimSubSubModel(14, -0.7));
        stabMacs8.add(new StabTrimSubSubModel(16, -0.3));
        stabMacs8.add(new StabTrimSubSubModel(18, 0));
        stabMacs8.add(new StabTrimSubSubModel(20, 0.3));
        stabMacs8.add(new StabTrimSubSubModel(22, 0.7));
        stabMacs8.add(new StabTrimSubSubModel(24, 1));
        stabMacs8.add(new StabTrimSubSubModel(26, 1.4));
        stabMacs8.add(new StabTrimSubSubModel(28, 1.7));
        stabMacs8.add(new StabTrimSubSubModel(30, 2));
        stabMacs8.add(new StabTrimSubSubModel(32, 2.4));
        stabTrimSub.add(new StabTrimSubModel("", 45000, stabMacs8));
        ArrayList<StabTrimSubSubModel> stabMacs9 = new ArrayList<StabTrimSubSubModel>();
        stabMacs9.add(new StabTrimSubSubModel(10, -1.5));
        stabMacs9.add(new StabTrimSubSubModel(12, -1.2));
        stabMacs9.add(new StabTrimSubSubModel(14, -0.8));
        stabMacs9.add(new StabTrimSubSubModel(16, -0.5));
        stabMacs9.add(new StabTrimSubSubModel(18, -0.2));
        stabMacs9.add(new StabTrimSubSubModel(20, 0.2));
        stabMacs9.add(new StabTrimSubSubModel(22, 0.5));
        stabMacs9.add(new StabTrimSubSubModel(24, 0.9));
        stabMacs9.add(new StabTrimSubSubModel(26, 1.2));
        stabMacs9.add(new StabTrimSubSubModel(28, 1.6));
        stabMacs9.add(new StabTrimSubSubModel(30, 1.9));
        stabMacs9.add(new StabTrimSubSubModel(32, 2.3));
        stabTrimSub.add(new StabTrimSubModel("", 47000, stabMacs9));
        ArrayList<StabTrimSubSubModel> stabMacs10 = new ArrayList<StabTrimSubSubModel>();
        stabMacs10.add(new StabTrimSubSubModel(10, -1.7));
        stabMacs10.add(new StabTrimSubSubModel(12, -1.3));
        stabMacs10.add(new StabTrimSubSubModel(14, -1));
        stabMacs10.add(new StabTrimSubSubModel(16, -0.6));
        stabMacs10.add(new StabTrimSubSubModel(18, -0.3));
        stabMacs10.add(new StabTrimSubSubModel(20, 0));
        stabMacs10.add(new StabTrimSubSubModel(22, 0.4));
        stabMacs10.add(new StabTrimSubSubModel(24, 0.7));
        stabMacs10.add(new StabTrimSubSubModel(26, 1.1));
        stabMacs10.add(new StabTrimSubSubModel(28, 1.4));
        stabMacs10.add(new StabTrimSubSubModel(30, 1.8));
        stabMacs10.add(new StabTrimSubSubModel(32, 2.1));
        stabTrimSub.add(new StabTrimSubModel("", 49000, stabMacs10));
        ArrayList<StabTrimSubSubModel> stabMacs11 = new ArrayList<StabTrimSubSubModel>();
        stabMacs11.add(new StabTrimSubSubModel(10, -1.8));
        stabMacs11.add(new StabTrimSubSubModel(12, -1.5));
        stabMacs11.add(new StabTrimSubSubModel(14, -1.1));
        stabMacs11.add(new StabTrimSubSubModel(16, -0.8));
        stabMacs11.add(new StabTrimSubSubModel(18, -0.5));
        stabMacs11.add(new StabTrimSubSubModel(20, -0.1));
        stabMacs11.add(new StabTrimSubSubModel(22, 0.2));
        stabMacs11.add(new StabTrimSubSubModel(24, 0.6));
        stabMacs11.add(new StabTrimSubSubModel(26, 0.9));
        stabMacs11.add(new StabTrimSubSubModel(28, 1.3));
        stabMacs11.add(new StabTrimSubSubModel(30, 1.6));
        stabMacs11.add(new StabTrimSubSubModel(32, 2));
        stabTrimSub.add(new StabTrimSubModel("", 51000, stabMacs11));
        ArrayList<StabTrimSubSubModel> stabMacs12 = new ArrayList<StabTrimSubSubModel>();
        stabMacs12.add(new StabTrimSubSubModel(10, -2));
        stabMacs12.add(new StabTrimSubSubModel(12, -1.6));
        stabMacs12.add(new StabTrimSubSubModel(14, -1.3));
        stabMacs12.add(new StabTrimSubSubModel(16, -0.9));
        stabMacs12.add(new StabTrimSubSubModel(18, -0.6));
        stabMacs12.add(new StabTrimSubSubModel(20, -0.2));
        stabMacs12.add(new StabTrimSubSubModel(22, 0.1));
        stabMacs12.add(new StabTrimSubSubModel(24, 0.5));
        stabMacs12.add(new StabTrimSubSubModel(26, 0.8));
        stabMacs12.add(new StabTrimSubSubModel(28, 1.2));
        stabMacs12.add(new StabTrimSubSubModel(30, 1.5));
        stabMacs12.add(new StabTrimSubSubModel(32, 1.9));
        stabTrimSub.add(new StabTrimSubModel("", 53000, stabMacs12));
        stabTrimFlap3Data = new StabTrimModel(stabTrimSub);
    }

    private void initStabTrimFlap4() {
        ArrayList<StabTrimSubModel> stabTrimSub = new ArrayList<StabTrimSubModel>();
        ArrayList<StabTrimSubSubModel> stabMacs1 = new ArrayList<StabTrimSubSubModel>();
        stabMacs1.add(new StabTrimSubSubModel(10, -0.2));
        stabMacs1.add(new StabTrimSubSubModel(12, 0.2));
        stabMacs1.add(new StabTrimSubSubModel(14, 0.5));
        stabMacs1.add(new StabTrimSubSubModel(16, 0.9));
        stabMacs1.add(new StabTrimSubSubModel(18, 1.2));
        stabMacs1.add(new StabTrimSubSubModel(20, 1.6));
        stabMacs1.add(new StabTrimSubSubModel(22, 1.9));
        stabMacs1.add(new StabTrimSubSubModel(24, 2.3));
        stabMacs1.add(new StabTrimSubSubModel(26, 2.6));
        stabMacs1.add(new StabTrimSubSubModel(28, 3));
        stabMacs1.add(new StabTrimSubSubModel(30, 3.3));
        stabMacs1.add(new StabTrimSubSubModel(32, 3.7));
        stabTrimSub.add(new StabTrimSubModel("FLAP 4", 31000, stabMacs1));
        ArrayList<StabTrimSubSubModel> stabMacs2 = new ArrayList<StabTrimSubSubModel>();
        stabMacs2.add(new StabTrimSubSubModel(10, -0.5));
        stabMacs2.add(new StabTrimSubSubModel(12, -0.1));
        stabMacs2.add(new StabTrimSubSubModel(14, 0.2));
        stabMacs2.add(new StabTrimSubSubModel(16, 0.6));
        stabMacs2.add(new StabTrimSubSubModel(18, 0.9));
        stabMacs2.add(new StabTrimSubSubModel(20, 1.3));
        stabMacs2.add(new StabTrimSubSubModel(22, 1.6));
        stabMacs2.add(new StabTrimSubSubModel(24, 2));
        stabMacs2.add(new StabTrimSubSubModel(26, 2.3));
        stabMacs2.add(new StabTrimSubSubModel(28, 2.7));
        stabMacs2.add(new StabTrimSubSubModel(30, 3));
        stabMacs2.add(new StabTrimSubSubModel(32, 3.4));
        stabTrimSub.add(new StabTrimSubModel("", 33000, stabMacs2));
        ArrayList<StabTrimSubSubModel> stabMacs3 = new ArrayList<StabTrimSubSubModel>();
        stabMacs3.add(new StabTrimSubSubModel(10, -0.8));
        stabMacs3.add(new StabTrimSubSubModel(12, -0.5));
        stabMacs3.add(new StabTrimSubSubModel(14, -0.1));
        stabMacs3.add(new StabTrimSubSubModel(16, 0.3));
        stabMacs3.add(new StabTrimSubSubModel(18, 0.6));
        stabMacs3.add(new StabTrimSubSubModel(20, 1));
        stabMacs3.add(new StabTrimSubSubModel(22, 1.3));
        stabMacs3.add(new StabTrimSubSubModel(24, 1.7));
        stabMacs3.add(new StabTrimSubSubModel(26, 2.1));
        stabMacs3.add(new StabTrimSubSubModel(28, 2.4));
        stabMacs3.add(new StabTrimSubSubModel(30, 2.8));
        stabMacs3.add(new StabTrimSubSubModel(32, 3.1));
        stabTrimSub.add(new StabTrimSubModel("", 35000, stabMacs3));
        ArrayList<StabTrimSubSubModel> stabMacs4 = new ArrayList<StabTrimSubSubModel>();
        stabMacs4.add(new StabTrimSubSubModel(10, -1.1));
        stabMacs4.add(new StabTrimSubSubModel(12, -0.8));
        stabMacs4.add(new StabTrimSubSubModel(14, -0.4));
        stabMacs4.add(new StabTrimSubSubModel(16, 0));
        stabMacs4.add(new StabTrimSubSubModel(18, 0.3));
        stabMacs4.add(new StabTrimSubSubModel(20, 0.7));
        stabMacs4.add(new StabTrimSubSubModel(22, 1.1));
        stabMacs4.add(new StabTrimSubSubModel(24, 1.4));
        stabMacs4.add(new StabTrimSubSubModel(26, 1.8));
        stabMacs4.add(new StabTrimSubSubModel(28, 2.2));
        stabMacs4.add(new StabTrimSubSubModel(30, 2.5));
        stabMacs4.add(new StabTrimSubSubModel(32, 2.9));
        stabTrimSub.add(new StabTrimSubModel("", 37000, stabMacs4));
        ArrayList<StabTrimSubSubModel> stabMacs5 = new ArrayList<StabTrimSubSubModel>();
        stabMacs5.add(new StabTrimSubSubModel(10, -1.4));
        stabMacs5.add(new StabTrimSubSubModel(12, -1.1));
        stabMacs5.add(new StabTrimSubSubModel(14, -0.7));
        stabMacs5.add(new StabTrimSubSubModel(16, -0.3));
        stabMacs5.add(new StabTrimSubSubModel(18, 0));
        stabMacs5.add(new StabTrimSubSubModel(20, 0.4));
        stabMacs5.add(new StabTrimSubSubModel(22, 0.8));
        stabMacs5.add(new StabTrimSubSubModel(24, 1.2));
        stabMacs5.add(new StabTrimSubSubModel(26, 1.5));
        stabMacs5.add(new StabTrimSubSubModel(28, 1.9));
        stabMacs5.add(new StabTrimSubSubModel(30, 2.3));
        stabMacs5.add(new StabTrimSubSubModel(32, 2.6));
        stabTrimSub.add(new StabTrimSubModel("", 39000, stabMacs5));
        ArrayList<StabTrimSubSubModel> stabMacs6 = new ArrayList<StabTrimSubSubModel>();
        stabMacs6.add(new StabTrimSubSubModel(10, -1.7));
        stabMacs6.add(new StabTrimSubSubModel(12, -1.4));
        stabMacs6.add(new StabTrimSubSubModel(14, -1));
        stabMacs6.add(new StabTrimSubSubModel(16, -0.6));
        stabMacs6.add(new StabTrimSubSubModel(18, -0.2));
        stabMacs6.add(new StabTrimSubSubModel(20, 0.1));
        stabMacs6.add(new StabTrimSubSubModel(22, 0.5));
        stabMacs6.add(new StabTrimSubSubModel(24, 0.9));
        stabMacs6.add(new StabTrimSubSubModel(26, 1.3));
        stabMacs6.add(new StabTrimSubSubModel(28, 1.7));
        stabMacs6.add(new StabTrimSubSubModel(30, 2));
        stabMacs6.add(new StabTrimSubSubModel(32, 2.4));
        stabTrimSub.add(new StabTrimSubModel("", 41000, stabMacs6));
        ArrayList<StabTrimSubSubModel> stabMacs7 = new ArrayList<StabTrimSubSubModel>();
        stabMacs7.add(new StabTrimSubSubModel(10, -1.9));
        stabMacs7.add(new StabTrimSubSubModel(12, -1.6));
        stabMacs7.add(new StabTrimSubSubModel(14, -1.2));
        stabMacs7.add(new StabTrimSubSubModel(16, -0.8));
        stabMacs7.add(new StabTrimSubSubModel(18, -0.4));
        stabMacs7.add(new StabTrimSubSubModel(20, 0));
        stabMacs7.add(new StabTrimSubSubModel(22, 0.3));
        stabMacs7.add(new StabTrimSubSubModel(24, 0.7));
        stabMacs7.add(new StabTrimSubSubModel(26, 1.1));
        stabMacs7.add(new StabTrimSubSubModel(28, 1.5));
        stabMacs7.add(new StabTrimSubSubModel(30, 1.9));
        stabMacs7.add(new StabTrimSubSubModel(32, 2.2));
        stabTrimSub.add(new StabTrimSubModel("", 43000, stabMacs7));
        ArrayList<StabTrimSubSubModel> stabMacs8 = new ArrayList<StabTrimSubSubModel>();
        stabMacs8.add(new StabTrimSubSubModel(10, -2.1));
        stabMacs8.add(new StabTrimSubSubModel(12, -1.8));
        stabMacs8.add(new StabTrimSubSubModel(14, -1.4));
        stabMacs8.add(new StabTrimSubSubModel(16, -1));
        stabMacs8.add(new StabTrimSubSubModel(18, -0.6));
        stabMacs8.add(new StabTrimSubSubModel(20, -0.2));
        stabMacs8.add(new StabTrimSubSubModel(22, 0.2));
        stabMacs8.add(new StabTrimSubSubModel(24, 0.5));
        stabMacs8.add(new StabTrimSubSubModel(26, 0.9));
        stabMacs8.add(new StabTrimSubSubModel(28, 1.3));
        stabMacs8.add(new StabTrimSubSubModel(30, 1.7));
        stabMacs8.add(new StabTrimSubSubModel(32, 2.1));
        stabTrimSub.add(new StabTrimSubModel("", 45000, stabMacs8));
        ArrayList<StabTrimSubSubModel> stabMacs9 = new ArrayList<StabTrimSubSubModel>();
        stabMacs9.add(new StabTrimSubSubModel(10, -2.3));
        stabMacs9.add(new StabTrimSubSubModel(12, -1.9));
        stabMacs9.add(new StabTrimSubSubModel(14, -1.5));
        stabMacs9.add(new StabTrimSubSubModel(16, -1.2));
        stabMacs9.add(new StabTrimSubSubModel(18, -0.8));
        stabMacs9.add(new StabTrimSubSubModel(20, -0.4));
        stabMacs9.add(new StabTrimSubSubModel(22, 0));
        stabMacs9.add(new StabTrimSubSubModel(24, 0.4));
        stabMacs9.add(new StabTrimSubSubModel(26, 0.8));
        stabMacs9.add(new StabTrimSubSubModel(28, 1.2));
        stabMacs9.add(new StabTrimSubSubModel(30, 1.6));
        stabMacs9.add(new StabTrimSubSubModel(32, 1.9));
        stabTrimSub.add(new StabTrimSubModel("", 47000, stabMacs9));
        ArrayList<StabTrimSubSubModel> stabMacs10 = new ArrayList<StabTrimSubSubModel>();
        stabMacs10.add(new StabTrimSubSubModel(10, -2.5));
        stabMacs10.add(new StabTrimSubSubModel(12, -2.1));
        stabMacs10.add(new StabTrimSubSubModel(14, -1.7));
        stabMacs10.add(new StabTrimSubSubModel(16, -1.3));
        stabMacs10.add(new StabTrimSubSubModel(18, -0.9));
        stabMacs10.add(new StabTrimSubSubModel(20, -0.5));
        stabMacs10.add(new StabTrimSubSubModel(22, -0.1));
        stabMacs10.add(new StabTrimSubSubModel(24, 0.2));
        stabMacs10.add(new StabTrimSubSubModel(26, 0.6));
        stabMacs10.add(new StabTrimSubSubModel(28, 1));
        stabMacs10.add(new StabTrimSubSubModel(30, 1.4));
        stabMacs10.add(new StabTrimSubSubModel(32, 1.8));
        stabTrimSub.add(new StabTrimSubModel("", 49000, stabMacs10));
        ArrayList<StabTrimSubSubModel> stabMacs11 = new ArrayList<StabTrimSubSubModel>();
        stabMacs11.add(new StabTrimSubSubModel(10, -2.6));
        stabMacs11.add(new StabTrimSubSubModel(12, -2.2));
        stabMacs11.add(new StabTrimSubSubModel(14, -1.8));
        stabMacs11.add(new StabTrimSubSubModel(16, -1.5));
        stabMacs11.add(new StabTrimSubSubModel(18, -1.1));
        stabMacs11.add(new StabTrimSubSubModel(20, -0.7));
        stabMacs11.add(new StabTrimSubSubModel(22, -0.3));
        stabMacs11.add(new StabTrimSubSubModel(24, 0.1));
        stabMacs11.add(new StabTrimSubSubModel(26, 0.5));
        stabMacs11.add(new StabTrimSubSubModel(28, 0.9));
        stabMacs11.add(new StabTrimSubSubModel(30, 1.3));
        stabMacs11.add(new StabTrimSubSubModel(32, 1.7));
        stabTrimSub.add(new StabTrimSubModel("", 51000, stabMacs11));
        ArrayList<StabTrimSubSubModel> stabMacs12 = new ArrayList<StabTrimSubSubModel>();
        stabMacs12.add(new StabTrimSubSubModel(10, -2.8));
        stabMacs12.add(new StabTrimSubSubModel(12, -2.4));
        stabMacs12.add(new StabTrimSubSubModel(14, -2));
        stabMacs12.add(new StabTrimSubSubModel(16, -1.6));
        stabMacs12.add(new StabTrimSubSubModel(18, -1.2));
        stabMacs12.add(new StabTrimSubSubModel(20, -0.8));
        stabMacs12.add(new StabTrimSubSubModel(22, -0.4));
        stabMacs12.add(new StabTrimSubSubModel(24, 0));
        stabMacs12.add(new StabTrimSubSubModel(26, 0.4));
        stabMacs12.add(new StabTrimSubSubModel(28, 0.8));
        stabMacs12.add(new StabTrimSubSubModel(30, 1.2));
        stabMacs12.add(new StabTrimSubSubModel(32, 1.6));
        stabTrimSub.add(new StabTrimSubModel("", 53000, stabMacs12));
        stabTrimFlap4Data = new StabTrimModel(stabTrimSub);
    }

    private void initIdealTrim() {
        idealTrimData = new ArrayList<IdealTrimModel>();
        idealTrimData.add(new IdealTrimModel(30600, 54));
        idealTrimData.add(new IdealTrimModel(42500, 71));

    }

    public String getLabel() {
        return "ERJ 190-200";
    }
    private ArrayList<String> acRegData;
    private ConstModel constData;
    private ArrayList<CrewModel> crewData;
    private ArrayList<ConfigurationModel> configuration;
    private ArrayList<FuelModel> fuelData;
    private ArrayList<HoldsModel> holdsData;
    private ArrayList<LimitZfwModel> limitZfwData;
    private ArrayList<LimitTowModel> limitTowData;
    private ArrayList<LimitLawModel> limitLawData;
    private ArrayList<LimitZfwffModel> limitZfwffData;
    private ArrayList<LimitTowffModel> limitTowffData;
    private PantryModel pantryData;
    private ArrayList<PaxModel> paxData;
    private MaxWeightsModel maxWeightsData;
    private StabTrimModel stabTrimFlap1Data;
    private StabTrimModel stabTrimFlap2Data;
    private StabTrimModel stabTrimFlap3Data;
    private StabTrimModel stabTrimFlap4Data;
    private ArrayList<IdealTrimModel> idealTrimData;
}
